"""
-*- coding:utf-8 -*-
__project__ = 'le-bo16'
__file_name__ = 'rickey'
__author__ = 'RickeyTing'
__time__ = '2020/10/27 19:36'
__product_name = PyCharm
# code is far away from bugs with the god animal protecting
    I love animals. They taste delicious.
              ┏┓      ┏┓
            ┏┛┻━━━┛┻┓
            ┃        ┃
            ┃  ┳┛  ┗┳  ┃
            ┃      ┻      ┃
            ┗━┓      ┏━┛
                ┃      ┗━━━┓
                ┃  神兽保佑    ┣┓
                ┃　永无BUG！   ┏┛
                ┗┓┓┏━┳┓┏┛
                  ┃┫┫  ┃┫┫
                  ┗┻┛  ┗┻┛
"""

# 逆序输出一串字符串
str = '欢乐谷欢迎您'
res = str[-1:-7:-1]
print(res)

# str 中查找'hello'
str1 = 'a,hello'
res1 = str1[2:7:]
print(res1)


# str 中用逗号分隔字符串，并保存到列表
str2 = 'a,b,c,d'
res2 = str2.split(',')
print(res2)


# 将字符串中123替换为’进行中‘
str3 = '123A'
res3 = str3.replace('123','进行中')
print(res3)







